package com.stars.easyms.mq.enums;

/**
 * mq发送类型
 *
 * @author guoguifang
 * @date 2018-04-23 13:54
 * @since 1.0.0
 */
public enum MQType {

    /**
     * 发送
     */
    SEND("S", "send"),

    /**
     * 接收
     */
    RECEIVE("R", "receive");

    private String code;

    private String name;

    MQType(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
